package com.yuw.control;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CommonControl {
    @RequestMapping("/")
    public String hello() {
        return "HelloWorld!";
    }

    @RequestMapping("/bye")
    public String bye()
    {
        return "Good Bye!";
    }
}
